/**
 * create:xl
 * create date:2012-10-23上午10:13:50
 * 描述：
 *
 */
package com.toncen.samepms.common;

import ognl.OgnlContext;

import com.sky.pig.common.AbstractOfficeDataProvider;

/**
 * @author Administrator
 * 
 */
public abstract class AbstractComitOfficeDataProvider extends AbstractOfficeDataProvider {

	/**
	 * 
	 */
	private OfficeAction action;

	/**
	 * 
	 */
	public AbstractComitOfficeDataProvider() {

	}

	/**
	 * create:xl create date:2012-10-23上午10:13:50 方法描述：
	 * 
	 */
	public OgnlContext getContext() throws Exception {
		return createDefaultContext();
	}

	/**
	 * create:xl create date:2012-10-23上午10:13:50 方法描述：
	 * 
	 */
	public String getTemplateId() throws Exception {
		return action.getTemplateId();
	}

	public OfficeAction getAction() {
		return action;
	}

	public void setAction(OfficeAction action) {
		this.action = action;
	}

}
